<?php

class User 
{
    
    public function index()
    {
        # code...
    }

    public function edit()
    {
        # code...
    }

    public function password()
    {
        # code...
    }
}